/*
* Conditions Of Use
*
* This software was developed by employees of the Sigmatrix(Beijing) Corporation.
* This software is provided by sigmatrix as a service and is expressly
* provided "AS IS."  Sigmatrix MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
* OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
* AND DATA ACCURACY.  Sigmatrix does not warrant or make any representations
* regarding the use of the software or the results thereof, including but
* not limited to the correctness, accuracy, reliability or usefulness of
* the software.
*
* Permission to use this software is contingent upon your acceptance
* of the terms of this agreement.
*
*/
package com.fileLoader.pojo.mongo;

import java.util.List;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @ClassName: FilePositionSetting
 * @Description: TODO(文件位置设置)
 * @author libin
 * @date 2017年11月9日 下午2:57:10
 */
@Document(collection = "filePositionSetting")
public class FilePositionSetting {
	@Id
	public String id;// 主键

	public String baseFileName;// 基础文件名 例如 scan.log

	public Integer status;//状态 1.启用 2.禁用
	
	public String readTag;//读取标记 uuid
	
	public Integer settingTpye;//配置类型    1.扫码 2...
	
	public String collectionName;//集合名称
	
	public List<FilePosition> writeFilePositions;//文件位置（写入位置 移动位置）
	
	public List<FilePosition> moveFilePositions;//文件位置（写入位置 移动位置）

	/**
	 *@return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 *@param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 *@return the baseFileName
	 */
	public String getBaseFileName() {
		return baseFileName;
	}

	/**
	 *@param baseFileName the baseFileName to set
	 */
	public void setBaseFileName(String baseFileName) {
		this.baseFileName = baseFileName;
	}

	/**
	 *@return the status
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 *@param status the status to set
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 *@return the readTag
	 */
	public String getReadTag() {
		return readTag;
	}

	/**
	 *@param readTag the readTag to set
	 */
	public void setReadTag(String readTag) {
		this.readTag = readTag;
	}

	
	/**
	 *@return the settingTpye
	 */
	public Integer getSettingTpye() {
		return settingTpye;
	}

	/**
	 *@param settingTpye the settingTpye to set
	 */
	public void setSettingTpye(Integer settingTpye) {
		this.settingTpye = settingTpye;
	}

	/**
	 *@return the collectionName
	 */
	public String getCollectionName() {
		return collectionName;
	}

	/**
	 *@param collectionName the collectionName to set
	 */
	public void setCollectionName(String collectionName) {
		this.collectionName = collectionName;
	}

	public List<FilePosition> getWriteFilePositions() {
		return writeFilePositions;
	}

	public void setWriteFilePositions(List<FilePosition> writeFilePositions) {
		this.writeFilePositions = writeFilePositions;
	}

	public List<FilePosition> getMoveFilePositions() {
		return moveFilePositions;
	}

	public void setMoveFilePositions(List<FilePosition> moveFilePositions) {
		this.moveFilePositions = moveFilePositions;
	}
	
	
}
